Deep Learning with PyTorch: Guide for Beginners and Intermediate by P. Jerry N
Author:P., Jerry N. [P., Jerry N.]
Language: eng
Format: epub, pdf
Published: 2019-01-27T16:00:00+00:00
use_gpu = torch.cuda.is_available()
Visualizing some Images
To be able to understand the augmentations of the data, let us visualize some of the training images. This is the code for this:
def imshow(inp, title=None):
inp = inp.numpy().transpose((1, 2, 0))
mean = np.array([0.485, 0.456, 0.406])
std = np.array([0.229, 0.224, 0.225])
inp = std * inp + mean
plt.imshow(inp)
if title is not None:
plt.title(title)
plt.pause(0.001) # pause a bit so that plots are updated
# Obtain a batch of the training data
inputs, classes = next(iter(dataloders['train']))
Download
Deep Learning with PyTorch: Guide for Beginners and Intermediate by P. Jerry N.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
A Swirl of Ocean by Melissa Sarno(51196)
The Book of Dreams (Saxon Series) by Severin Tim(33507)
Cecilia; Or, Memoirs of an Heiress — Volume 1 by Fanny Burney(32707)
Cecilia; Or, Memoirs of an Heiress — Volume 2 by Fanny Burney(32071)
Cecilia; Or, Memoirs of an Heiress — Volume 3 by Fanny Burney(32052)
Call Me by Your Name by André Aciman(20689)
Eleanor and Park by Rainbow Rowell(15642)
Always and Forever, Lara Jean by Jenny Han(15053)
For the Love of Europe by Rick Steves(14811)
Norse Mythology by Gaiman Neil(13534)
Crooked Kingdom: Book 2 (Six of Crows) by Bardugo Leigh(12434)
Shadow Children #03 - Among the Betrayed by Margaret Peterson Haddix(12010)
Among the Betrayed by Margaret Peterson Haddix(11699)
Twisted Palace by Erin Watt(11252)
Six of Crows by Leigh Bardugo(10373)
They Both Die at the End by Adam Silvera(9923)
P.S. I Still Love You by Jenny Han(9691)
Fangirl by Rainbow Rowell(9434)
Thirteen Reasons Why by Jay Asher(9089)